home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K Plain Password.xpl < prev    next >
Text File  |  2004-02-14  |  1KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Security\Passwords"
  5. "NAME"="Windows Plain Password"
  6. "VERSION"="1.03"
  7. "OSVERSION"="0001011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Allow plain text passwords"
  10. "DESCRIPTION 1"="Windows does not support plain text passwords by default for security reasons, however, some servers, such as Samba, Unix, or Linux, often require plain text passwords to allow a user to logon to them."
  11. "DESCRIPTION 2"="Enable the first option if you require plain text passwords, but keep in mind this will reduce your password security."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="More info: http://support.microsoft.com/support/kb/articles/q166/7/30.asp"
  16. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  17.  
  18.  
  19.  
  20. sV1="HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters\EnablePlainTextPassword" 'DW (0=disable, 1=enable)
  21.  
  22.  
  23. Sub Plugin_Initialize 
  24.   i=RegReadValue(sV1)
  25.   if i=1 then SetUIElement 1,true
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sV1,1,2) 
  35.  else
  36.     If RegValueExists(sV1) then Call RegDeleteValue(sV1)
  37.  end if
  38.  
  39.  Call Restart()
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.